/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mycompany.ingsoc2;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

/**
 *
 * @author sebastian
 */
public class ModelDB {
    
    public boolean createModel(Connection conn) throws SQLException{
        Statement stmt = conn.createStatement();
        stmt.executeUpdate("CREATE TABLE Personas(dni int, nombre varchar(100),apellido varchar(100))");
        return true;
    }
        
        

}
